package tables

import (
	"time"
)

type YogaCourse struct {
	Id          int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	TotalNumber int       `xorm:"" json:"total_number" form:"total_number" mapstructure:"total_number"`
	StartTime   int64     `xorm:"" json:"start_time" form:"start_time" mapstructure:"start_time"`
	EndTime     int64     `xorm:"" json:"end_time" form:"end_time" mapstructure:"end_time"`
	ClassHours  int       `xorm:"" json:"class_hours" form:"class_hours" mapstructure:"class_hours"`
	Describe    string    `xorm:"" json:"describe" form:"describe" mapstructure:"describe"`
	Cover       string    `xorm:"" json:"cover" form:"cover" mapstructure:"cover"`
	SubMchId    string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
	Name        string    `xorm:"" json:"name" form:"name" mapstructure:"name"`
	CreatedAt   time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt   time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt   time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	Price       float32   `xorm:"" json:"price" form:"price" mapstructure:"price"`
	Weight      int       `xorm:"" json:"weight" form:"weight" mapstructure:"weight"`
	Acid        int       `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	VenueId     int       `xorm:"" json:"venue_id" form:"venue_id" mapstructure:"venue_id"`
	IsHome      int       `xorm:"" json:"is_home" form:"is_home" mapstructure:"is_home"`
	LeaveCount  int       `xorm:"" json:"leave_count" form:"leave_count" mapstructure:"leave_count"`
	Enrollment  int       `xorm:"" json:"enrollment" form:"enrollment" mapstructure:"enrollment"`
	Points      int       `xorm:"" json:"points" form:"points" mapstructure:"points"`
	BuyCount    int       `xorm:"" json:"buy_count" form:"buy_count" mapstructure:"buy_count"`
	GiftPoints  int       `xorm:"" json:"gift_points" form:"gift_points" mapstructure:"gift_points"`
	VenueName   string    `xorm:"" json:"venue_name" form:"venue_name" mapstructure:"venue_name"`
}
